package com.design.pattern.proxy;

/**
 * @Description 代理模式  模拟送女孩礼物
 * @author ll
 * @createTime 2021/6/1  18:03 
 */
public class Main {

	public static void main(String[] args) {
		//代理类是 Proxy 实际上是Pursuit
		Proxy proxy = new Proxy(new SchoolGirls("小红"));
		proxy.giveFlower();
		proxy.giveLipstick();
		proxy.giveDoll();
	}


}
